package com.design.pattern.state.domain;

/**
 * 聊天室实体类
 */
public class ChatRoom {
    private String id;//房间唯一ID
    private String name;//房间名称
    private Boolean isVip;//是不是vip才能进入的房间
    private Boolean hasPassword;//房间是否包含密码
    private String password;//房间密码

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getVip() {
        return isVip;
    }

    public void setVip(Boolean vip) {
        isVip = vip;
    }

    public Boolean getHasPassword() {
        return hasPassword;
    }

    public void setHasPassword(Boolean hasPassword) {
        this.hasPassword = hasPassword;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
